package com.shire.shire_interface.dao.welcome;

import com.shire.shire_interface.model.welcome.WxWelcomeSetting;
import com.shire.shire_interface.model.welcome.WxWelcomeSettingExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WxWelcomeSettingDao {
    long countByExample(WxWelcomeSettingExample example);

    int deleteByExample(WxWelcomeSettingExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(WxWelcomeSetting record);

    int insertSelective(WxWelcomeSetting record);

    List<WxWelcomeSetting> selectByExampleWithBLOBs(WxWelcomeSettingExample example);

    List<WxWelcomeSetting> selectByExample(WxWelcomeSettingExample example);

    WxWelcomeSetting selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") WxWelcomeSetting record, @Param("example") WxWelcomeSettingExample example);

    int updateByExampleWithBLOBs(@Param("record") WxWelcomeSetting record, @Param("example") WxWelcomeSettingExample example);

    int updateByExample(@Param("record") WxWelcomeSetting record, @Param("example") WxWelcomeSettingExample example);

    int updateByPrimaryKeySelective(WxWelcomeSetting record);

    int updateByPrimaryKeyWithBLOBs(WxWelcomeSetting record);

    int updateByPrimaryKey(WxWelcomeSetting record);
}